package com.gp.testonline.service;

import com.gp.testonline.eo.TeacherEOPage;
import com.gp.testonline.model.Teacher;

import java.util.List;

/*
 *业务及流程接口定义
 */
public interface TeacherService {
    //添加教师信息
    int InsertTeacher(Teacher teacher);

    //更新教师信息
    int UpdateTeacher(Teacher teacher);

    //删除教师信息
    int DeleteTeacher(int tid);

    //根据条件获取相关信息
    List<TeacherEOPage> getTeacherAll(TeacherEOPage teacherEOPage);
}
